* {
  margin: 0;
  padding: 0;
}

body {
  height: 100vh;

  background: url("./assets/images/world_map.jpg") center;
  background-size: cover;
}

.center {
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);
}

.pointer {
  border-radius: 50%;
  border-bottom-right-radius: 4px;
  width: 20px;
  height: 20px;

  background-image: linear-gradient(to left top, #fae8a4, #d3dae4);

  transform: rotate(45deg);
}

.pointer::before {
  position: absolute;

  border-radius: 50%;
  width: 100%;
  height: 100%;

  background-color: #000;

  transform: scale(0.5);

  content: "";
}

.shadow {
  position: absolute;
  left: 0; /* left: 0和right:0同时设置能够使绝对定位元素在横向有流体特性，可以通过margin: 0 auto水平居中*/
  right: 0;
  bottom: -10px;

  margin: 0 auto;
  border-radius: 50%;
  width: 20px;
  height: 10px;

  background-color: #d3dae4;

  filter: blur(6px);

  animation: animate 1s linear infinite;
}

@keyframes animate {
  0% {
    transform: scale(1.5);
  }

  50% {
    transform: scale(0.5);
  }

  100% {
    transform: scale(1.5);
  }
}

.location-info {
  position: absolute;
  left: -10px;
  top: -10px;

  border-radius: 2px;
  padding: 2px;

  font-size: 0.8em;
  white-space: nowrap;

  color: #fff;
  background-color: rgba(255, 255, 255, 0.15);

  transform: translate(-120%, 0);
}

.location-info::before {
  position: absolute;
  top: 50%;
  left: 100%;

  border-width: 5px 20px 10px 5px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.1) transparent transparent transparent;

  transform-origin: top left;
  transform: rotate(45deg);

  content: "";
}
